﻿using AbstractTheFarm.Abstractions;
using AbstractTheFarm.SpecificProduct;
using System;
using System.Collections.Generic;
using System.Text;


namespace AbstractTheFarm.FarmersPlant
{
   public class SGfarm: Farm//农厂1
    {
        public Animal newAnimal()
        {
            Console.WriteLine("新牛出生！");
            return new Cattle();
        }
       public Plant newPlant()
        {
            Console.WriteLine("蔬菜长成！");
            return new Vegetables();
        }
    }
}
